
module.exports = app => {
    app.get('/', app.controller.home.index);
    app.get('/home/index', app.controller.home.index);
    app.get('/home/page', app.controller.home.page);
    app.get('/home/search', app.controller.home.search);
    app.get('/home/post', app.controller.home.post);
    app.get('/home/archives', app.controller.home.archives);
    app.get('/home/tags', app.controller.home.tags);
    app.get('/home/about', app.controller.home.about);

    app.get('/admin/login', app.controller.admin.login);
    app.get('/admin', app.controller.admin.index);
    app.get('/admin/index', app.controller.admin.index);
    app.get('/admin/page', app.controller.admin.page);
    app.get('/admin/search', app.controller.admin.search);
    app.post('/admin/post', app.controller.admin.post);
    app.get('/admin/post', app.controller.admin.post);
    app.delete('/admin/post', app.controller.admin.post);
    app.post('/admin/about', app.controller.admin.about);
    app.get('/admin/about', app.controller.admin.about);
    app.delete('/admin/about', app.controller.admin.about);
};
